import request from '@/utils/request'

// 查询客户跟进记录列表
export function listClueFollrecords(query) {
  return request({
    url: '/crm/clueFollrecords/list',
    method: 'get',
    params: query
  })
}

// 查询客户跟进记录详细
export function getClueFollrecords(id) {
  return request({
    url: '/crm/clueFollrecords/' + id,
    method: 'get'
  })
}

// 新增客户跟进记录
export function addClueFollrecords(data) {
  return request({
    url: '/crm/clueFollrecords',
    method: 'post',
    data: data
  })
}

// 修改客户跟进记录
export function updateClueFollrecords(data) {
  return request({
    url: '/crm/clueFollrecords',
    method: 'put',
    data: data
  })
}

// 删除客户跟进记录
export function delClueFollrecords(id) {
  return request({
    url: '/crm/clueFollrecords/' + id,
    method: 'delete'
  })
}
